/************************************
 * created by Tonk (tonk@ctonk.com) *
 ************************************/

// help.cpp

#include "help.h"
#include <list>
#include "stringutil.h"

int Help::numHelps = 0;

Help::Help() {
	numHelps++;
}

Help::Help( Help& it ) {
	_topic = it.getTopic();
	_text = it.getText();
	numHelps++;
}

Help::~Help() {
	numHelps--;
}

Help& Help::operator = ( Help& it ) {
	_topic = it.getTopic();
	_text = it.getText();
	numHelps++;
	return *this;
}

void Help::setTitle( std::string title ) {
	_title = title;
	return;
}

std::string Help::getTitle() {
	return _title;
}

void Help::setTopic( std::string topic ) {
	_topic = topic;
	return;
}

std::string Help::getTopic() {
	return _topic;
}

void Help::setText( std::string text ) {
	_text = text;
	return;
}

std::string Help::getText() {
	return _text;
}
